<template>

	<view>

		<my-cthz v-if="cthz.length>0"></my-cthz>
		<view class="zs" v-else>

			<image src="../../static/9c3ccf72134f4a28d4c8344d4505f2f0.png" mode="" @click="tz"></image>
			<p>暂时没有错题哦~~~~点击图片去做题吧！</p>
		</view>
	</view>
</template>

<script>
	import {
		mapState
	} from 'vuex'
	export default {
		data() {
			return {

			};
		},
		computed: {
			...mapState('users', ['cthz'])
		},
		methods: {
			tz() {
				uni.switchTab({
					url: "/pages/lianxi/lianxi"
				})
			}
		}
	}
</script>

<style lang="scss">
	.zs {
		text-align: center;
	}
</style>